//
//  CourseSearchNavView.h
//  ShowYork
//
//  Created by hxh on 2020/8/30.
//  Copyright © 2020 hxh. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol LessonSearchNavViewDelegate <NSObject>
@optional
- (void)textChange:(NSString *)text;
- (void)textSearch:(NSString *)text;
- (void)textFieldBeginEditing;
- (void)cancel;
@end

@interface LessonSearchNavView : UIView
@property (nonatomic,weak)id<LessonSearchNavViewDelegate>delegate;
- (void)setSearchTitle:(NSString *)searchTitle;
- (void)setSearchPlaceTitle:(NSString *)searchPlachTitle;
- (void)textEditing;
- (void)clearText;
@end

NS_ASSUME_NONNULL_END
